package com.github.mvc.basic.service;

import tk.mybatis.mapper.common.Mapper;

public interface BaseService<T> {

    Mapper getMapper();

    int insert(T t);

    T getById(Object primaryKey);

    int update(T t);

    int delete(Object primaryKey);
}
